package com.sale.system.mapper;

import com.sale.system.domain.PasswordVerify;
import com.sale.system.domain.dto.PasswordVerifyDto;
import com.sale.system.domain.vo.PasswordVerifyVo;
import org.apache.ibatis.annotations.Mapper;

/***
 *
 * Author:C
 * Date:2022/12/14 9:39
 * @DESC
 */
@Mapper
public interface PasswordVerifyMapper {

    /**
     * 查询密码校验列表
     * @param passwordVerifyVo
     * @return
     */
    PasswordVerifyDto selectPasswordVerifyList(PasswordVerifyVo passwordVerifyVo);

    /**
     * 新增密码校验
     * @param passwordVerify
     * @return
     */
    boolean insertPassword(PasswordVerify passwordVerify);

    /**
     * 新增密码校验
     * @param passwordVerify
     * @return
     */
    boolean updatePassword(PasswordVerify passwordVerify);

    /**
     * 获取初始密码
     * @param
     * @return
     */
    String getInitialVerify();

    /**
     * 查询密码校验列表(修改密码模块用)
     * @param
     * @return
     */
    PasswordVerifyDto getPasswordVerifyInfo();

}
